package com.qk.service;

import com.qk.common.PageResult;
import com.qk.entity.Activity;

import java.util.List;

public interface ActivityService {

    PageResult<Activity> list(Integer channel, Integer type, Integer status, int page, int pageSize);

    void addActivity(Activity activity);

    void deleteByIds(Integer id);

    Activity getActivityById(Integer id);

    void updateActivity(Activity activity);

    List<Activity> getActivitiesByType(Integer type);
}
